package com.erp.produce.dao;

import com.erp.produce.entity.Supplier;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SupplierDao extends JpaRepository<Supplier,Long> {
    List<Supplier> findAllBySupplierNameLike(String name, Pageable pageable);
}
